/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ta.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ta.entity.XtLoupan;
import com.thinkgem.jeesite.modules.ta.dao.XtLoupanDao;

/**
 * 楼盘展示Service
 * @author 刘雨轩
 * @version 2017-06-13
 */
@Service
@Transactional(readOnly = true)
public class XtLoupanService extends CrudService<XtLoupanDao, XtLoupan> {

	//生成楼盘信息
	public void insertRoom(XtLoupan xlp){
		super.insertRoom(xlp);
	}
	public XtLoupan get(String id) {
		return super.get(id);
	}
	public XtLoupan get(int fh) {
		return super.get(fh);
	}
	
	public int findMax() {
		return super.findMax();
	}
	
	public List<XtLoupan> findList(XtLoupan xtLoupan) {
		return super.findList(xtLoupan);
	}
	
	public Page<XtLoupan> findPage(Page<XtLoupan> page, XtLoupan xtLoupan) {
		return super.findPage(page, xtLoupan);
	}
	
	@Transactional(readOnly = false)
	public void save(XtLoupan xtLoupan) {
		super.save(xtLoupan);
	}
	@Transactional(readOnly = false)
	public void update(XtLoupan xtLoupan) {
		super.update(xtLoupan);
	}
	
	@Transactional(readOnly = false)
	public void delete(XtLoupan xtLoupan) {
		super.delete(xtLoupan);
	}
	//删除楼盘所有信息
	@Transactional(readOnly = false)
	public void deleteAll() {
		super.deleteAll();
	}
	
}